package sg.edu.ntu.metaweb.storage.data;

import java.io.Serializable;
import java.util.Date;


public class Vote implements Serializable {

	private byte value;
	private Date timestamp;
	
	
	public Vote(byte value) {
		this.value = value;
		this.timestamp = new Date();
	}


	public byte getValue() {
		return value;
	}


	public void setValue(byte value) {
		this.value = value;
	}


	public Date getTimestamp() {
		return timestamp;
	}
}
